package com.yxzz.core.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生活习惯对象 p_lifestyle_record
 * 
 * @author ruoyi
 * @date 2023-02-28
 */
public class PLifestyleRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    /** 吸烟情况 */
    @Excel(name = "吸烟情况")
    private String smokingStatus;

    /** 饮酒情况 */
    @Excel(name = "饮酒情况")
    private String alcoholConsumption;

    /** 表示运动频率 */
    @Excel(name = "表示运动频率")
    private String exerciseFrequency;

    /** 饮食情况 */
    @Excel(name = "饮食情况")
    private String dietaryHabit;

    /** 睡眠时长 */
    @Excel(name = "睡眠时长")
    private String sleepDuration;

    /** 压力水平0-9，9代表最大压力 */
    @Excel(name = "压力水平0-9，9代表最大压力")
    private String stressLevel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setSmokingStatus(String smokingStatus) 
    {
        this.smokingStatus = smokingStatus;
    }

    public String getSmokingStatus() 
    {
        return smokingStatus;
    }
    public void setAlcoholConsumption(String alcoholConsumption) 
    {
        this.alcoholConsumption = alcoholConsumption;
    }

    public String getAlcoholConsumption() 
    {
        return alcoholConsumption;
    }
    public void setExerciseFrequency(String exerciseFrequency) 
    {
        this.exerciseFrequency = exerciseFrequency;
    }

    public String getExerciseFrequency() 
    {
        return exerciseFrequency;
    }
    public void setDietaryHabit(String dietaryHabit) 
    {
        this.dietaryHabit = dietaryHabit;
    }

    public String getDietaryHabit() 
    {
        return dietaryHabit;
    }
    public void setSleepDuration(String sleepDuration) 
    {
        this.sleepDuration = sleepDuration;
    }

    public String getSleepDuration() 
    {
        return sleepDuration;
    }
    public void setStressLevel(String stressLevel) 
    {
        this.stressLevel = stressLevel;
    }

    public String getStressLevel() 
    {
        return stressLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("smokingStatus", getSmokingStatus())
            .append("alcoholConsumption", getAlcoholConsumption())
            .append("exerciseFrequency", getExerciseFrequency())
            .append("dietaryHabit", getDietaryHabit())
            .append("sleepDuration", getSleepDuration())
            .append("stressLevel", getStressLevel())
            .toString();
    }
}
